package com.newtouch.cq.swagger.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author Alex
 * @Description swagger配置属性
 * @time 2021/8/18 10:15
 */
@Data
@Configuration
@ConfigurationProperties("mcc.swagger")
public class SwaggerProperties {

    public static String contactName;

    public static String url;

    public static String email;

    public static String version;

    public void setContactName(String contactName) {
        SwaggerProperties.contactName = contactName;
    }

    public void setUrl(String url) {
        SwaggerProperties.url = url;
    }

    public void setEmail(String email) {
        SwaggerProperties.email = email;
    }

    public void setVersion(String version) {
        SwaggerProperties.version = version;
    }
}
